Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "ociPlatform" template function #40

Merged
merged 1 commit into from
Feb 24, 2022

Conversation

tianon
Copy link
Member

@tianon tianon commented Feb 24, 2022

This will allow us to convert from Architectures: values directly to --platform values (for docker pull, etc).

This is going to be especially useful for updating https://github.com/docker-library/oi-janky-groovy/tree/master/repo-info/local with/for docker-library/repo-info#59 (although isn't directly tied, since we're technically broken as-is right now).

This will allow us to convert from `Architectures:` values directly to `--platform` values (for `docker pull`, etc).
@tianon
Copy link
Member Author

tianon commented Feb 24, 2022

$ bashbrew cat --format '{{ ociPlatform "arm32v6" }}' bash
linux/arm/v6

@tianon tianon merged commit b2cbaa3 into docker-library:master Feb 24, 2022
@tianon tianon deleted the format-ociPlatform branch February 24, 2022 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants